<%-- 
    Document   : error
    Created on : Mar 4, 2014, 10:36:09 PM
    Author     : Theodoro
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" isErrorPage="true"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
    <c:set scope="request" var="title" value="Error Page"/>
    <c:if test="${sessionScope.username == NULL}">
        <c:redirect url="http://webtek.org/Bonix/php/public/index.php"/>
    </c:if>
    <jsp:include page="head.jsp"/>

    <body>
        <jsp:include page="banner.jsp"/>
        <div class="error">
            <br>
            <h2 style='background-color:red'>Sorry! Something went wrong...</h2>

            <p style='background-color:skyblue'>${pageContext.exception}</p>
        </div>
    </body>
</html>
